<?php
class SetManageAction extends Action{
    
    public function setManage(){    	
    	$this->assign("validateMenuJuri",true);
        //global $cookieTools;
        //$qiaoba = $cookieTools->getCookie('qiaoba');
        //$this->smarty->assign("qiaoba",$qiaoba);
        //smartyDisplay($this->smarty,'/manage/page/systemmanage/systemusermanage/userManage.html');
    	tsLoad('/manage/busi/SysSetBusi.class.php');
    	
    	$sysSetBusi = new SysSetBusi();
    	$sysSet = $sysSetBusi->querySysSet();
    	
    	$this->smarty->assign("sysSet",$sysSet);
    	$this->assign("smarty",'/manage/page/systemmanage/systemsetmanage/setManage.html');
        
        return $this->SMARTY;
    }
    
    //修改配置信息
    public function updateSysSet(){
    	global $param;
    	$params = $param->getParams();
    	tsLoad('/manage/busi/SysSetBusi.class.php');
    	 
    	$sysSetBusi = new SysSetBusi();
    	$result = $sysSetBusi->updateSysSet($params);
    	 
    	$this->assign("result",$result);
    	return $this->JSON;
    }
}
?>